export const globalMethods = {
    stopDefaultEvent(e) {
        var e = e || window.event;
        e.preventDefault();
    },
    stopPropagation(e) {
        var e = e || window.event;
        e.stopPropagation ? e.stopPropagation() : e.cancleBubble = true;
    }
}